package bist.believeinstep.dao;

import java.util.List;

import bist.believeinstep.domain.Article;
import bist.believeinstep.util.Constant.ArticleType;
import bist.believeinstep.util.Constant.State;

public interface ArticleDAO {
	
	public boolean create(Article article);
	public boolean update(Article article);
	public boolean delete(int id);
	public boolean delete(String code);
	public Article find(int id);
	public Article find(String code);
	public List<Article> find(ArticleType type);
	public List<Article> find(State state);
	public List<Article> findAll();
	
}
